BiomeSea = class(BiomeBase)

function BiomeSea:init(id,name)
    BiomeBase.init(self,id,name)
    self.enabled3DNoise = false
    self.topBlock = Block.sand.id
    self.minHeight = 0
    self.maxHeight = 0.52
    self.temperature = -20
    self.biomeDecorator = {
        treesPerChunk = -999,
        grassPerChunk = -999,
        sandPerChunk = 5,
        flowersPerChunk = -999,
        deadBushPerChunk = -999
    }
    self.shouldUpdateBrightness = false
end

function BiomeSea:processNoise2D(baseNoise,terrainNoise)
    baseNoise = (0.5 + (baseNoise - 0.5) * 2) * 0.7
    terrainNoise = (0.5 + (terrainNoise - 0.5) * 1.5) * 0.3
    terrainNoise = terrainNoise + baseNoise
    return self.minHeight + (terrainNoise * (self.maxHeight - self.minHeight))
end